<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>登录</title>
	<link rel="stylesheet" type="text/less" href="__TEMPLATE__/style/main.less" />
	<link rel="stylesheet" href="__TEMPLATE__/style/bootstrap.min.css" />
	<script type="text/javascript" src="__TEMPLATE__/js/less-1.7.5.min.js"></script>
	<hdjs>
	<script type="text/javascript">
        $(function(){
            var src = $('.codeimg').attr('src');
            $('.codeing').click(function() {
                $('.codeimg').attr('src',src + '&' + Math.random());
            });
        })
    </script>
    <script type="text/javascript" src="__TEMPLATE__/js/main.js"></script>
</head>
<body style="background:#F2F2F2">
<!-- 登录页面开始 -->
	<div id="login">
		<div class="top">
			<a href="/">
				<img src="__TEMPLATE__/images/logo.png" alt="" />
			</a>
		</div>
		<div class="login">
			<h2>登录小米帐号</h2>
			<form role="form" action="{|U:Login/index}" method="post" id="loginForm">
			 	<div class="form-group">
			    	<input type="text" class="form-control" id="exampleInputEmail1" placeholder="请输入邮箱/手机号码/小米ID" name="username_login" style="height:40px;">
			  	</div>
			  	<div class="form-group">
			    	<input type="password" class="form-control" id="exampleInputPassword1" placeholder="请输入密码" name="password">
			  	</div>
			  	<div class="form-group">
			    	<input type="text" class="form-control code" id="exampleInputPassword1" placeholder="验证码" name="code1" style="width:150px;">
			    	<a href="javascript:;" class="codeing"><img class="codeimg" src="{|U:'Register/code'}" alt="" /></a>
			  	</div>
			  	<div class="checkbox">
			    	<label>
			      		<input type="checkbox" value="1" name="auto"> 两周自动登录
			    	</label>
			    </div>
			  	<button type="submit" class="btn btn-danger"  style="width:300px;background-color:#FF4A00;border-color:#FF4A00;">立即登录</button>
			</form>
			<p>
				<span>其它登录方式</span>
				<a href="">QQ</a>
				<a href="">微博</a>
				<a href="">支付宝</a>
				<a href="">免费注册</a>
			</p>

		</div>
	</div>
<!-- 登录页面结束 -->
</body>
</html>